package com.xb.loan.encryptor.comm.protocol;



public class Protocol {
	
	private Encoder encoder;
	
	private Decoder decoder;

	public Protocol(){}
	
	public Protocol(Encoder encoder, Decoder decoder) {
		super();
		this.encoder = encoder;
		this.decoder = decoder;
	}

	public Encoder getEncoder() {
		return encoder;
	}

	public void setEncoder(Encoder encoder) {
		this.encoder = encoder;
	}

	public Decoder getDecoder() {
		return decoder;
	}

	public void setDecoder(Decoder decoder) {
		this.decoder = decoder;
	}
	
}
